﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Intreaba.aspx.cs" Inherits="Intreaba" %>

<%@ Register Src="~/controls/ucConversation.ascx" TagName="ucConversation" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table>
        <tr>
            <td>
                <asp:UpdatePanel runat="server" ID="updConversation">
                    <ContentTemplate>
                        <table width="400px" cellspacing="0" cellpadding="0" border="0">
                            <tr style="height: 15px;" valign="top">
                                <td style="background-image: url(images/alb_01.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_sus.png); background-repeat: repeat-x;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_03.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                            </tr>
                            <tr style="height: 15px;">
                                <td style="background-image: url(images/alb_stanga.png); background-position: left;
                                    background-repeat: repeat-y; border-style: none; margin-left: 0; margin-top: 0;
                                    margin-bottom: 0; margin-right: 0; width: 15px;">
                                </td>
                                <td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;
                                    background-image: url(images/alb_pixelutz.png); background-repeat: repeat;" align="center">
                                    <uc:ucConversation runat="server" ID="ucConversationId" ProductId="0" />
                                </td>
                                <td style="background-image: url(images/alb_dreapta.png); background-position: left;
                                    background-repeat: repeat-y; border-style: none; margin-left: 0; margin-top: 0;
                                    width: 15px;">
                                </td>
                            </tr>
                            <tr style="height: 15px;">
                                <td style="background-image: url(images/alb_07.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_jos.png); background-position: left;
                                    background-repeat: repeat-x; border-style: none; margin-top: 0; margin-bottom: 0;
                                    margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_09.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:UpdatePanel runat="server" ID="updGridview">
                    <ContentTemplate>
                         <table width="400px" cellspacing="0" cellpadding="0" border="0">
                            <tr style="height: 15px;" valign="top">
                                <td style="background-image: url(images/alb_01.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_sus.png); background-repeat: repeat-x;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_03.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                            </tr>
                            <tr style="height: 15px;">
                                <td style="background-image: url(images/alb_stanga.png); background-position: left;
                                    background-repeat: repeat-y; border-style: none; margin-left: 0; margin-top: 0;
                                    margin-bottom: 0; margin-right: 0; width: 15px;">
                                </td>
                                <td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;
                                    background-image: url(images/alb_pixelutz.png); background-repeat: repeat;" align="center">
                        <asp:GridView runat="server" ID="grdConversation" AutoGenerateColumns="False" DataSourceID="LinqDataSource1"
                            AllowPaging="True" Font-Names="Verdana" Font-Size="11px" GridLines="None" BorderStyle="None"  Width="370px" PageSize="10">
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:Label runat="server" ID="lblText" Text='<% #Eval("DetailAnonimName")%>' ForeColor="DarkGreen"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label runat="server" ID="Label1" Text='<% #Eval("DetailDate")%>'  ForeColor="DarkGreen"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Label runat="server" ID="lblQuestion" Text='<%#Eval("DetailText") %>' Width="350px"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        </td>
                                <td style="background-image: url(images/alb_dreapta.png); background-position: left;
                                    background-repeat: repeat-y; border-style: none; margin-left: 0; margin-top: 0;
                                    width: 15px;">
                                </td>
                            </tr>
                            <tr style="height: 15px;">
                                <td style="background-image: url(images/alb_07.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_jos.png); background-position: left;
                                    background-repeat: repeat-x; border-style: none; margin-top: 0; margin-bottom: 0;
                                    margin-right: 0; margin-left: 0;">
                                </td>
                                <td style="background-image: url(images/alb_09.png); background-repeat: no-repeat;
                                    border-style: none; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0;">
                                </td>
                            </tr>
                        </table>
                        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="LinQProject.FarmacieDataClassesDataContext"
                            TableName="View_Conversations">
                        </asp:LinqDataSource>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
